package com.example.Dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.domain.Dish;
import com.example.domain.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
//接收前端的参数的类
@Data

public class DishDto extends Dish {
    //菜品所对应的口味数据
    private List<DishFlavor> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
